<?php
declare(strict_types=1);

namespace App\Service\Admin;

use App\Repository\Admin\SystemLogRepository;
use Hyperf\Di\Annotation\Inject;

class SystemLogService
{
    #[Inject]
    private SystemLogRepository $repository;

    public function getLogsByUser(int $id, int $perPage, int $page)
    {
        return $this->repository->getLogsByUser($id, $perPage, $page);
    }
}